package com.zdkj.subway.stm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zdkj.subway.stm.entity.SwStConductorSellDetail;
import com.zdkj.subway.stm.mapper.SwStConductorSellDetailMapper;
import com.zdkj.subway.stm.service.SwStConductorSellDetailService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 车站车票售卖详细信息
 *
 * @author songtuo
 * @date 2020-07-14 11:52:25
 */
@Service
@AllArgsConstructor
public class SwStConductorSellDetailServiceImpl extends ServiceImpl<SwStConductorSellDetailMapper, SwStConductorSellDetail> implements SwStConductorSellDetailService {

    private final SwStConductorSellDetailMapper swStConductorSellDetailMapper;

    @Override
    public List<SwStConductorSellDetail> querySell(String dateString) {
        return swStConductorSellDetailMapper.querySell(dateString);
    }

    @Override
    public List<SwStConductorSellDetail> queryInvalid(String dateString) {
        return swStConductorSellDetailMapper.queryInvalid(dateString);
    }

    @Override
    public List<SwStConductorSellDetail> queryPassenger(String dateString) {
        return swStConductorSellDetailMapper.queryPassenger(dateString);
    }
}
